package com.aplink.generic.pojo;

import java.io.Serializable;

import com.aplink.generic.util.ResourcesHelper;

public class TableSyncData implements Serializable {
    private static final long serialVersionUID = -877881443290041823L;
    private boolean isClearAll;
    private boolean isDownloadOnly;
    private boolean isHavePhoto;
    private String mTableName;
    private String mWebserviceFunction;

    public String getTableName() {
        return this.mTableName;
    }

    public String getWebserviceFunction() {
        return this.mWebserviceFunction;
    }

    public int getWebserviceFunctionID() {
        return ResourcesHelper.getRawIdByName(this.mWebserviceFunction);
    }

    public boolean isClearAll() {
        return this.isClearAll;
    }

    public boolean isDownloadOnly() {
        return this.isDownloadOnly;
    }

    public boolean isHavePhoto() {
        return this.isHavePhoto;
    }

    public void setClearAll(final boolean isClearAll) {
        this.isClearAll = isClearAll;
    }

    public void setDownloadOnly(final boolean isDownloadOnly) {
        this.isDownloadOnly = isDownloadOnly;
    }

    public void setHavePhoto(final boolean isHavePhoto) {
        this.isHavePhoto = isHavePhoto;
    }

    public void setTableName(final String tableName) {
        this.mTableName = tableName;
    }

    public void setWebserviceFunction(final String webserviceFunction) {
        this.mWebserviceFunction = webserviceFunction;
    }

}
